/**
 * @Auto generation code
 * Women Day Activity Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, loading
 * index - GET
 */
export const index = async ({// query params
		code   // code ,必填 
	
}, loading) => {
	return await request.get('/activity', {
		 code, 
	}, loading)
}


/**
 * 
 * path, params, loading
 * gtCaptcha - GET
 */
export const gtCaptcha = async (loading) => {
	return await request.get('/activity/captcha', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * displayOwn - GET
 */
export const displayOwn = async (loading) => {
	return await request.get('/activity/display', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * indexInside - GET
 */
export const indexInside = async (loading) => {
	return await request.get('/activity/index', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * info - GET
 */
export const info = async (loading) => {
	return await request.get('/activity/info', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * checkLogin - GET
 */
export const checkLogin = async ({// query params
		phone ,   // phone  
		valid ,   // valid  
		share   // share  
	
}, loading) => {
	return await request.get('/activity/login', {
		 phone,  valid,  share, 
	}, loading)
}


/**
 * 
 * path, params, loading
 * noCoupon - GET
 */
export const noCoupon = async (loading) => {
	return await request.get('/activity/no-coupon', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * smsValid - GET
 */
export const smsValid = async ({// query params
		phone ,   // phone  
		captcha   // captcha  
	
}, loading) => {
	return await request.get('/activity/sms', {
		 phone,  captcha, 
	}, loading)
}


/**
 * 
 * path, params, loading
 * success - GET
 */
export const success = async (loading) => {
	return await request.get('/activity/success', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * testLight - GET
 */
export const testLight = async (loading) => {
	return await request.get('/activity/test/light', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * testSuccess - GET
 */
export const testSuccess = async (loading) => {
	return await request.get('/activity/test/success', {
		
	}, loading)
}

